import { ADD_TO_CART } from './actionType.js'

export const addtocart= (item) =>{
  return {
    type: ADD_TO_CART,
    payload:
      item
  }
}